package com.linsir.lin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.linsir.base.BasePOJO;
import lombok.Data;

@Data
@TableName("lin_object")
public class MetaObject extends BasePOJO {

    @TableId(value = "id",type = IdType.AUTO)
    private  Integer id;

    private String code;

    private String name;

    private String viewName;

    private String tableName;

    private String pkName;

    private String dataSource;

    private boolean isSingle;

    private boolean isCelledit;

    private boolean isShowNum;

    private boolean isFirstLoad;

    private String filter;

    private String defaultOrder;

    private String diyCard;

    private String diyJs;

    private String bizIntercept;

    private String viewSql;

    private String config;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getViewName() {
        return viewName;
    }

    public void setViewName(String viewName) {
        this.viewName = viewName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getPkName() {
        return pkName;
    }

    public void setPkName(String pkName) {
        this.pkName = pkName;
    }

    public String getDataSource() {
        return dataSource;
    }

    public void setDataSource(String dataSource) {
        this.dataSource = dataSource;
    }

    public boolean isSingle() {
        return isSingle;
    }

    public void setSingle(boolean single) {
        isSingle = single;
    }

    public boolean isCelledit() {
        return isCelledit;
    }

    public void setCelledit(boolean celledit) {
        isCelledit = celledit;
    }

    public boolean isShowNum() {
        return isShowNum;
    }

    public void setShowNum(boolean showNum) {
        isShowNum = showNum;
    }

    public boolean isFirstLoad() {
        return isFirstLoad;
    }

    public void setFirstLoad(boolean firstLoad) {
        isFirstLoad = firstLoad;
    }

    public String getFilter() {
        return filter;
    }

    public void setFilter(String filter) {
        this.filter = filter;
    }

    public String getDefaultOrder() {
        return defaultOrder;
    }

    public void setDefaultOrder(String defaultOrder) {
        this.defaultOrder = defaultOrder;
    }

    public String getDiyCard() {
        return diyCard;
    }

    public void setDiyCard(String diyCard) {
        this.diyCard = diyCard;
    }

    public String getDiyJs() {
        return diyJs;
    }

    public void setDiyJs(String diyJs) {
        this.diyJs = diyJs;
    }

    public String getBizIntercept() {
        return bizIntercept;
    }

    public void setBizIntercept(String bizIntercept) {
        this.bizIntercept = bizIntercept;
    }

    public String getViewSql() {
        return viewSql;
    }

    public void setViewSql(String viewSql) {
        this.viewSql = viewSql;
    }

    public String getConfig() {
        return config;
    }

    public void setConfig(String config) {
        this.config = config;
    }
}
